<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<title><fmt:message key="passwordRecover.resetPassword"/></title>


<form id="passwordModel" name="passwordModel" method="post" action="resetPassword.html" commandName="passwordModel" onsubmit="return validatePasswordModel(this);">
	<input type="hidden" name="doAction" value="onSubmit"/>
	<spring:bind path="passwordModel.url">
		<input type="hidden"  name="url" value="${status.value}"/>
	</spring:bind>
	<div class="register">
		<div class="top"><fmt:message key="passwordRecover.resetPassword"/></div>
		<div class="content">
		
		<!--  表格开始 -->
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_register">
				<tr>
					<td colspan="2">
					<fmt:message key="passwordRecover.resetPassword.tips"/>
					</td>
				</tr>
				<tr>
					<td width="80px;">
						<fmt:message key="passwordRecover.email"/>:
					</td>
					<td>
						<spring:bind path="passwordModel.email">
							<input class="inputtxt3" type="text" name="${status.expression}" id="${status.expression}" value="${status.value}"  size="33">
						</spring:bind>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<span class="gray"><fmt:message key="appUser.password.rule" /></span>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<div id="passStrengthId"></div>
					</td>
				</tr>
				<tr>
					<td><fmt:message key="passwordRecover.password"/>:</td>
					<td><input type="password" class="inputtxt3" id="password" name="password"  size="33"/></td>
				</tr>
				<tr>
					<td><fmt:message key="passwordRecover.repassword"/>:</td>
					<td><input type="password" class="inputtxt3" id="repassword" name="repassword"  size="33"/></td>
				</tr>
				
				<tr>
					<th>&nbsp;</th>
					<td><input id="registerBtn" name="" type="image" src="${txtImagePath}/btn_submit_02.gif" /></td>
				</tr>
			</table>
			
			<!-- 表格 结束 -->
			
		</div>
	</div>
</form>

<c:set var="plugin_passwordStrength" value="true" scope="request"/>
<c:set var="probizJs_validation" value="true" scope="request"/>	
<v:javascript formName="passwordModel" staticJavascript="false"/>
 <script type="text/javaScript">

$j(document).ready(function () {
	<%-----start:密码强度-----%>
	$j("#password").passStrength({
		userid:	"username",
		locationId: "passStrengthId"
	});
	<%-----end: 密码强度-----%>
	
});
</script>
